package cranim;

import java.awt.Dimension;

/**
 *
 * @author Benedikt
 */
public interface Constants {
    
    //Settings
    String DEFAULT_COORDS = "[1:1:6]";
    int SIM_ROUNDS = 100;

    //Graphics
    String ANIM_TITLE = "CRanim Animation";
    int ANIM_WIDTH = 1600;
    int ANIM_HEIGHT = 1200;
    Dimension ANIM_DIM = new Dimension(ANIM_WIDTH,ANIM_HEIGHT);
    int X = 0;
    int Y = 1;
    
    int ANIM_STEP_MILLIS = 10;
    int ATTACKER_START = ANIM_WIDTH/2;
    int ATTACKER_MOVEMENT_MILLIS = 2000;
    //Ship scales
    double SCARGO_SCALE = 0.02;
    double LCARGO_SCALE = 0.03;
    double LFIGHTER_SCALE = 0.02;
    double HFIGHTER_SCALE = 0.03;
    double CRUISER_SCALE = 0;
    double BSHIP_SCALE = 0;
    double COLSHIP_SCALE = 0;
    double RECYCLER_SCALE = 0.3;
    double PROBE_SCALE = 0;
    double BOMBER_SCALE = 0.04;
    double DESTROYER_SCALE = 0.2;
    double DEATHSTAR_SCALE = 0.4;
    double BCRUISER_SCALE = 0.05;
    
    //Weapons
    int LASER = 0;
    int IONBEAM = 1;
    int GAUSSP = 2;
    int PLASMABEAM = 3;
    int GRAVITON = 4;
    
    //Shots
    int SHOT_ERROR = ANIM_WIDTH/100;
    double LASER_SHOT_SCALE = 0.01;
    double LASER_SHOT_SPEED = 0.2;
    double ION_SHOT_SCALE = 0.01;
    double ION_SHOT_SPEED = 0.2;
    double GAUSS_SHOT_SCALE = 0.01;
    double GAUSS_SHOT_SPEED = 0.2;
    double PLASMA_SHOT_SCALE = 0.01;
    double PLASMA_SHOT_SPEED = 0.2;
    double GRAVITON_SHOT_SCALE = 0.01;
    double GRAVITON_SHOT_SPEED = 0.2;
            
    //Techs
    boolean IS_ATTACKER = true;
    boolean IS_DEFENDER = false;
    int ATTACKER = 0;
    int DEFENDER = 1;
    int ARMS = 0;
    int SHIELDS = 1;
    int HULL = 2;
    int SHIELD_DMG = 0;
    int HULL_DMG = 1;
    
    //Drives
    int COMBUSTION = 0;
    int IMPULSE = 1;    
    int HYPER = 2;
    
    //Rules
    int MAX_ROUNDS = 6;
    double PERCENT_RULE = 0.01;
    double EXPLOCHANCE = 0.7;
    int MAX_SHOTS = 1000;
    
    //Units
    int SCARGO = 0;
    int LCARGO = 1;
    int LFIGHTER = 2;
    int HFIGHTER = 3;
    int CRUISER = 4;
    int BSHIP = 5;
    int COLSHIP = 6;
    int RECYCLER = 7;
    int PROBE = 8;
    int BOMBER = 9;
    int DESTROYER = 10;
    int DEATHSTAR = 11;
    int BCRUISER = 12;
    int SOLSAT = 13;
    int RLAUNCHER = 14;
    int LLASER = 15;
    int HLASER = 16;
    int GAUSS = 17;
    int IONCAN = 18;
    int PLASMATUR = 19;
    int SSHIELD = 20;
    int LSHIELD = 21;
    int ATTACKER_UNITS = 13;
    int DEFENDER_UNITS = 22;
    
    //Planet temperature
    int HOT = 0;
    int MEDIUM = 1;
    int COLD = 2;
    int HOT_REGION = 5;
    int MEDIUM_REGION = 10;
    int COLD_REGION = 15;
}
